<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<script type="text/javascript" src="../jsjar/jquery-3.5.1.min.js"></script>
<script type="text/javascript" src="../jsjar/popper.js"></script>
<script type="text/javascript" src="../jsjar/bootstrap-4.5.0-dist/js/bootstrap.min.js"></script>
<link type="text/css" rel="stylesheet" href="../jsjar/bootstrap-4.5.0-dist/css/bootstrap.css">
<script type="text/javascript">
$(function(){
	var sex="${fuser.fsex }";
	if(sex=="男"){
		$("#nan").attr("checked","checked");
	}
	if(sex=="女"){
		$("#nv").attr("checked","checked");
	}	
	
	
});
</script>
<style type="text/css">
*{margin:0px; padding:0px;}
ul{list-style: none;}
input{border-radius: 2px;}
a{color: black;}
a:hover {
	text-decoration: none;
	color: black;
}
</style>
<body>
<div id="myaaa">
<div id="bigdiv" >
                <form class="form-horizontal" action="${pageContext.request.contextPath }/fuser/update02">
                <input type="hidden" name="fid" value="${fuser.fid }">
                  <div class="control-group">
                    <label class="control-label" for="inputStuname" contenteditable="true">姓&nbsp&nbsp&nbsp名</label>
                    <span class="controls">
                      <input id="inputStuname" placeholder="Name" type="text" name="fname" value="${fuser.fname }">
                    </span><span id="stuname_" style="display: none;color: red; ">*</span>
                  </div>
                  
                   <div class="control-group">
                    <label class="control-label" for="inputStuage" contenteditable="true">年&nbsp&nbsp&nbsp龄</label>
                    <span class="controls">
                      <input id="inputStuage" placeholder="Age" type="text" name="fage" value="${fuser.fage }">
                    </span><span id="stuage_" style="display: none;color: red; ">*</span>
                  </div>
                   <div class="control-group">
                    <label class="control-label" contenteditable="true">性&nbsp&nbsp&nbsp别</label>
                    <label class="checkbox" contenteditable="true">
                        <input type="radio" id="nan"  name="fsex" value="男">
                       	男 </label>
                    <label class="checkbox" contenteditable="true">
                         <input type="radio" id="nv" name="fsex" value="女">
                       	女 </label>
                  </div>
                   <div class="control-group">
                    <label class="control-label" for="inputIdcard" contenteditable="true">身份证</label>
                    <span class="controls">
                      <input id="inputIdcard" placeholder="Idcard" type="text" name="fidcard" value="${fuser.fidcard }">
                    </span><span id="idcard_" style="display: none;color: red; ">*</span>
                  </div>
                   <div class="control-group">
                    <label class="control-label" for="inputPhone" contenteditable="true">账&nbsp&nbsp&nbsp号</label>
                    <span class="controls">
                      <input id="inputPhone" placeholder="Phone" type="text" name="fusername" value="${fuser.fusername }">
                    </span><span id="phone_" style="display: none;color: red; ">*</span>
                  </div>
                  <div class="control-group">
                    <label class="control-label" for="inputBedroomid" contenteditable="true">密&nbsp&nbsp&nbsp码</label>
                    <span class="controls">
                      <input id="inputBedroomid" placeholder="Bedroomid" type="password" name="fpassword" value="${fuser.fpassword }">
                    </span><span id="bedroomid_" style="display: none;color: red; ">*</span><span id="bd" style="color:red;">${bedroomid }</span>
                  </div>
                  <div class="control-group" style="text-align:center;" >
                    <div class="controls">
                      <button type="submit" class="btn" contenteditable="true" style="width:100px;height:24px;">修改</button>
                    </div>
                  </div>
                </form>
           </div>
</div>
</body>
</html>